projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05d6ece
)
(Man-next-section): Don't consider the last line of the page as being
author
Chong Yidong
<cyd@stupidchicken.com>
Mon, 4 Jun 2007 23:42:10 +0000
(23:42 +0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Mon, 4 Jun 2007 23:42:10 +0000
(23:42 +0000)
part of any section.
lisp/man.el
patch
|
blob
|
history
diff --git
a/lisp/man.el
b/lisp/man.el
index 0484c032e34dd644bb545d458e412c4128cbaa3b..e74f9734e516d7847616f75c7f6a20360e48806f 100644
(file)
--- a/
lisp/man.el
+++ b/
lisp/man.el
@@
-1296,7
+1296,9
@@
The following key bindings are currently in effect in the buffer:
(forward-line 1))
(if (re-search-forward Man-heading-regexp (point-max) t n)
(beginning-of-line)
- (goto-char (point-max)))))
+ (goto-char (point-max))
+ ;; The last line doesn't belong to any section.
+ (forward-line -1))))
(defun Man-previous-section (n)
"Move point to Nth previous section (default 1)."